A. dm
B. rm
C. delete
D. erase
Advertisement
Related Mcqs:
- Which command is used to list out all the hidden files along with the other files ?
- A. ls -l B. ls -x C. ls -F D. ls -a...
- Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories ?
- A. rm * B. rm -r * C. rm all D. rm *.*...
- What command is used to remove files ?
- A. dm B. rm C. delete D. erase...
- Which of the following commands is used to remove files ?
- A. erase B. delete C. rm D. dm...
- Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?
- A. find -mtime +365 | rm B. grep (/usr/*) – mtime + 365 | -ok rm C. find -name – mtime + 365 / – ok rm D. find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;...
- Which of the following files will displayed by this command cat *ch* ?
- A. patch B. catch C. .ch D. All of the above...
- What command is used to compare the files ?
- A. ccp B. du C. cmp D. comp...
- Which command is used to change protection mode of files starting with the string emp and ending with 1,2, or 3 ?
- A. chmod u+x emp[1-3] B. chmod 777 emp* C. chmod u+r ??? emp D. chmod 222 emp?...
- Which command is used to copy all files having the string chap and any two characters after that to the progs directory ?
- A. cp chap?? progs B. cp chap* progs C. cp chap[12] /progs/*.* D. cp chap?? /progs/*...
- Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters ?
- A. cat emp[!0-9] B. more [emp][!0-9] C. cat emp[x-z] D. cat emp[a-z]...
Advertisement